package edu.kjxy.demo0322;

public class demo01 {

	public static void main(String[] args) {
		for(int i = 1; i <= 100; i++) {
			int sum = 0;
			int k = i;
			while(sum < 236) {
				sum += k;
				k++;
			}
			if(sum == 236) {
				System.out.println("%d %d %d".formatted(i, k-1, sum));
			}
		}
	}

}
